package com.lx.bilibili.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.sql.Timestamp;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author lx
 * @since 2025-03-26
 */
@Getter
@Setter
@TableName("videodatadetail")
public class VideoDataDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("vid")
    private Integer vid;

    @TableField("uid")
    private Integer uid;

    @TableField("likes")
    private Integer likes;

    @TableField("coin")
    private Integer coin;

    @TableField("collect")
    private Integer collect;

    @TableField("time")
    private Timestamp time;

    @Override
    public String toString() {
        return "VideoDataDetail{" +
                "id=" + id +
                ", vid=" + vid +
                ", uid=" + uid +
                ", likes=" + likes +
                ", coin=" + coin +
                ", collect=" + collect +
                ", time=" + time +
                '}';
    }
}
